package Boundary;

import DataView.Message;
import Executor.Main;
import Interfaces.ShowWelcome;

public class EasySM extends BaseBoundary {
	public Main main;
	public ShowWelcome interfaces= new ShowWelcome();
	
	public EasySM(Main main)
	{
		this.main=main;
		interfaces.showWelcome(this);
	}

	public void newProject(String aFilename) {
		main.doNewProject(aFilename);
	}

	public void openProject(String aFName) {
		main.doOpenProject(aFName);
	}
	
	public void ko()
	{
		interfaces.showMessage(Message.fileNotFound);
	}

	public void closeProject() 
	{
		System.exit(0);
	}
}